Release 10.1A: OpenEdge Development:
Java Open Clients
Writing a SmartDataObject-aware Java client
![]()
To write a Java client that accesses a SmartDataObject:
- Connect to the AppServer by instantiating an AppObject or SDOAppObject class.
- Create an SDOResultSet object based on the specified SmartDataObject, using the
Appobject._createSDOResultSet()class factory method, whereAppobjectis the SDOAppObject, AppObject, or an associated SubAppObject instance.- Invoke standard JDBC 2 and extended methods on the SDOResultSet, to query and modify data accessed through the SmartDataObject. See the JDBC documentation.
- Close the SDOResultSet using the
SDOResultSet.close()method.- Release the SDOAppObject, AppObject, or SubAppObject using the
Appobject._release()method.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |